import api from '../index';

/**
 * 获取商品列表的接口
 * */

export const getGoods = params => api.get('public/v1/goods/search', { params })

/**
 * 获取商品详情的接口
 * */

export const getDetail = params => api.get('public/v1/goods/detail', { params })

